/*
 * @Author: your name
 * @Date: 2020-08-16 13:46:12
 * @LastEditTime: 2020-08-16 14:00:14
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \demo\day02\demo05\main.go
 */
package main

import "fmt"

type People interface {
	Speak(string) string
}

type Student struct {
}

func (stu *Student) Speak(think string) (talk string) {
	switch think {
	case "sb":
		talk = "你是个大帅比"
	default:
		talk = "你好"
	}
	return talk
}

func main() {
	var s People
	s = &Student{}
	fmt.Println(s.Speak("bitch"))
}
